public class Main {
    public static void main(String[] args) {
        AbstractFile imageFile1 = new ImageFile();
        AbstractFile videoFile1 = new VideoFile();
        AbstractFile textFile1 = new TextFile();
        AbstractFile bottomFolder = new Folder();
        bottomFolder.add(imageFile1);
        bottomFolder.add(videoFile1);
        bottomFolder.add(textFile1);
        AbstractFile middleFolder = new Folder();
        middleFolder.add(new VideoFile());
        middleFolder.add(bottomFolder);
        middleFolder.add(new TextFile());
        AbstractFile topFolder = new Folder();
        topFolder.add(new VideoFile());
        topFolder.add(middleFolder);
        topFolder.KillVirus();
    }
}